package com.kxmall.order.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;


/**
 * 购物车视图对象
 */
@Data
@ApiModel("购物车")
@ExcelIgnoreUnannotated
public class KxStoreCartVo {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ApiModelProperty(value = "ID")
    @ExcelProperty(value = "ID")
    private Long id;

    /**
     * 购物车ID
     */
    @ApiModelProperty(value = "购物车ID")
    @ExcelProperty(value = "购物车ID")
    private Long cartId;

    /**
     * 商品数量
     */
    @ApiModelProperty(value = "商品数量")
    @ExcelProperty(value = "商品数量")
    private Integer cartNum;

    /**
     * 购买东西的详细信息
     */
    @ApiModelProperty(value = "购买东西的详细信息")
    @ExcelProperty(value = "购买东西的详细信息")
    private String cartInfo;

    /**
     * 商品ID
     */
    @ApiModelProperty(value = "商品ID")
    @ExcelProperty(value = "商品ID")
    private Long productId;
    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    @ExcelProperty(value = "商品名称")
    private String productName;

    /**
     * 商品图片
     */
    @ApiModelProperty(value = "商品图片")
    @ExcelProperty(value = "商品图片")
    private String productImg;
    /**
     * 商品属性ID
     */
    @ApiModelProperty(value = "商品属性ID")
    @ExcelProperty(value = "商品属性ID")
    private Long productAttrId;

    /**
     * 商品属性名称
     */
    @ApiModelProperty(value = "商品属性名称")
    @ExcelProperty(value = "商品属性名称")
    private String productAttrName;

    /**
     * 商品属性图片
     */
    @ApiModelProperty(value = "商品属性图片")
    @ExcelProperty(value = "商品属性图片")
    private String productAttrImg;

    /**
     * 原价
     */
    @ApiModelProperty(value = "原价")
    @ExcelProperty(value = "原价")
    private BigDecimal otPrice;

    /**
     * 单价
     */
    @ApiModelProperty(value = "单价")
    @ExcelProperty(value = "单价")
    private BigDecimal price;

    /**
     * 库存
     */
    @ApiModelProperty(value = "库存")
    @ExcelProperty(value = "库存")
    private Integer stock;

    /**
     * 商品分类表ID
     */
    @ApiModelProperty(value = "商品分类表ID")
    @ExcelProperty(value = "商品分类表ID")
    private Long cateId;

    /**
     * 商品分类表ID列表
     */
    @ApiModelProperty(value = "商品分类表ID列表")
    @ExcelProperty(value = "商品分类表ID列表")
    private List<Long> cateIdList;
}
